﻿using CatUtils.Utils.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PixivGifDownLoad.Helper
{
    internal class PixivStaticValue
    {
        internal static string tip;

        private static string tempPath = StaticValue.TempPath + "PixivGif\\";
        private static bool printFlag = true;

        private static int JpgCount = 0;
        private static int JpgMaxCount = 0;
        private static bool JpgLock = false;
        private static string GifPath = tempPath + "Gif\\";

        /// <summary>
        /// 是否写入数据到log文件
        /// </summary>
        public static bool PrintFlag { get => printFlag; set => printFlag = value; }

        public static string TempPath { get => tempPath; set => tempPath = value; }

        /// <summary>
        /// 解析网页的进度
        /// </summary>
        public static int count { get; internal set; }

        /// <summary>
        /// 当前已经处理了多少张jpg
        /// </summary>
        public static int JpgCount1 { get => JpgCount; set => JpgCount = value; }

        /// <summary>
        /// 一共有多少张jpg
        /// </summary>
        public static int JpgMaxCount1 { get => JpgMaxCount; set => JpgMaxCount = value; }

        /// <summary>
        /// 是否完成了
        /// </summary>
        public static bool JpgLock1 { get => JpgLock; set => JpgLock = value; }

        /// <summary>
        /// 生成GIF 的路径
        /// </summary>
        public static string GifPath1 { get => GifPath; set => GifPath = value; }
    }
}